import request from '@/utils/request';

export async function login(params) {
    return request('/back/auth/account/login', {
        method: 'POST',
        body: params,
    });
}

export async function logout() {
    return request('/back/auth/account/logout');
}